import request from "@/utils/request";
import { AxiosPromise, AxiosResponse } from "axios";

const AREA_BASE_URL = "/api/area";

class AreaAPI {
  static getList(code = 0) {
    return request<any>({
      url: `${AREA_BASE_URL}/${code}`,
      method: "get",
    });
  }
}
export default AreaAPI;
